package com.iotechn.unimall.data.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

/**
 * 仓库损耗商品表
 *
 * @author wxw
 * @email
 * @date 2020-04-13 13:05:53
 */

@Data
@TableName("unimall_warehouse_loss_goods")
public class WarehouseLossGoodsDO {


    @TableField("id")
    private Long id;
    /**
     *
     */
    @TableField("loss_check_id")
    private Long lossCheckId;
    /**
     * 损耗前数量
     */
    @TableField("loss_check_pre_goods_num")
    private Float lossCheckPreGoodsNum;
    /**
     * 损耗后数量
     */
    @TableField("loss_check_aft_goods_num")
    private Float lossCheckAftGoodsNum;
    /**
     * 损耗数量
     */
    @TableField("loss_check_goods_num")
    private Float lossCheckGoodsNum;
    /**
     * 损耗损益金额
     */
    @TableField("loss_check_goods_amount")
    private Long lossCheckGoodsAmount;
    /**
     * 品类名称
     */
    @TableField("sku_name")
    private String skuName;
    /**
     * 品类id
     */
    @TableField("sku_id")
    private Long skuId;
    /**
     *
     */
    @TableField("goods_name")
    private String goodsName;
    /**
     * 商品编号
     */
    @TableField("goods_no")
    private String goodsNo;
    /**
     * 商品单位
     */
    @TableField("goods_unit")
    private String goodsUnit;
    /**
     * 商品条码
     */
    @TableField("goods_bar_code")
    private String goodsBarCode;
    /**
     * 商品图片
     */
    @TableField("goods_img")
    private String goodsImg;
    /**
     * 仓库ID
     */
    @TableField("warehouse_id")
    private Long warehouseId;
    /**
     * 商品id
     */
    @TableField("spu_id")
    private Long spuId;
    /**
     * 商品名称
     */
    @TableField("spu_name")
    private String spuName;


    /**
     * 类型
     */
    @TableField("loss_type")
    private Integer lossType;

}
